package com.tmxk.constant;

public enum Result {
    SUCCESS(0, "成功"),
    FAILED(1, "失败"),
    OTHER(2,"其他")
    ;
    private Integer code;
    private String value;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    Result() {
    }

    Result(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
